<?php

//<editor-fold defaultstate="collapsed" desc="License & Copyright">
/*
 * @license
 */

/**
 *
 * @author Jevgeni Geimanen (jevgeni.geimanen@gmail.com)
 */
//</editor-fold>
class SCLabel extends Component {
    //<editor-fold defaultstate="collapsed" desc="Text">
    /**
     * @var string
     */
    private $_Text = null;

    /**
     *
     * @return string
     */
    public function getText() {
        return $this->_Text;
    }

    /**
     *
     * @param string $text
     * @return Text 
     */
    public function setText(&$text) {
        $this->_Text = $text;
        return $this;
    }

    //</editor-fold>
    
    public function Render() {
        return "<label name='{$this->getControlName()}'>{$this->getText()}</label>";
    }
}

?>
